package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 职称管理对象 job_title
 * 
 * @author ruoyi
 * @date 2025-05-06
 */
public class JobTitle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 职称id */
    private Long id;

    /** 职称名称 */
    @Excel(name = "职称名称")
    private String name;

    /** 默认挂号费 */
    @Excel(name = "默认挂号费")
    private BigDecimal price;

    /** 职称描述 */
    @Excel(name = "职称描述")
    private String description;

    /** 是否启用(1.启用,2.禁用) */
    @Excel(name = "是否启用(1.启用,2.禁用)")
    private String status;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("price", getPrice())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("addTime", getAddTime())
            .toString();
    }
}
